package org.mayanjun.code.easyweb.springmvc.annotation;

import org.mayanjun.code.easyweb.springmvc.interceptor.AccessLogInterceptor;

import java.lang.annotation.*;

/**
 * Print the access log for a request
 *
 * @author mayanjun
 * @since 0.0.2(Jan 15, 2016)
 *
 * @see AccessLogInterceptor
 */
@Documented
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Interceptor(value = AccessLogInterceptor.class)
@Inherited
public @interface PrintAccessLog {
}